package com.example.biz.impl;

import com.example.biz.TopictypeBiz;
import com.example.dao.TopictypeMapper;
import com.example.entity.Topictype;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TopictypeBizImpl implements TopictypeBiz {
    @Resource
    private TopictypeMapper topictypeMapper;
    @Override
    public List<Topictype> queryAll() {
        return  topictypeMapper.selectByExample(null);
    }
}
